package org.scirp.ijmis.dao.common.impl;

import java.util.List;

import org.scirp.ijmis.dao.base.impl.BaseDAOImpl;
import org.scirp.ijmis.dao.common.ISecurityQuestionDAO;
import org.scirp.ijmis.po.common.SecurityQuestion;

public class SecurityQuestionDAOImpl extends BaseDAOImpl<SecurityQuestion> implements ISecurityQuestionDAO {

	private static final String className = SecurityQuestionDAOImpl.class.toString();

	public SecurityQuestion selectById(Object id) {
		return (SecurityQuestion) super.selectById(id, className + "-->selectById");
	}

	public List<SecurityQuestion> selectAll() {
		String hql = "from SecurityQuestion  order by pid asc";
		return super.ExecuteQuery(hql, className + "-->selectAll");
	}

}
